 #include "rclcpp/rclcpp.hpp"
#include "std_msgs/msg/string.hpp"
 
namespace pub_topic
{
 class topic_pub : public rclcpp::Node
    {
    private:
        rclcpp::Publisher<std_msgs::msg::String>::SharedPtr pub_;
        rclcpp::TimerBase::SharedPtr timer_;
        void timer_cb();
    public:
        topic_pub(std::string name);
        ~topic_pub();
    };
}